/*
 * @Description: 
 * @Author: Pengfei
 * @Date: 2021-09-28 11:06:27
 * @LastEditTime: 2021-09-29 14:49:52
 * @LastEditors: Pengfei
 */
export default [
    {
        path: '/index',
        name: '首页',
        component: () => import('@v/home.vue'),
        meta: {icon: 'el-icon-s-home'},
        children:[]
    },
    {
        path: '/users',
        name: '用户管理',
        redirect: '/users/usersManagement',
        component: () => import('@l/MainView/index.vue'),
        meta: {icon: 'el-icon-thumb'},
        children:[
            {
                path: 'usersManagement',
                name: '用户列表',
                component: ()=> import('@v/usersManagement.vue'),
                children: [],
                meta: {icon: 'el-icon-umbrella'}
            },
        ]
    },
    {
        path: '/department',
        name: '部门管理',
        redirect: '/department/deparmentManagement',
        component: () => import('@l/MainView/index.vue'),
        meta: {icon: 'el-icon-c-scale-to-original'},
        children:[
            {
                path: 'deparmentManagement',
                name: '部门列表',
                component: ()=> import('@v/deparmentManagement.vue'),
                children: [],
                meta: {icon: 'el-icon-folder-remove'}
            },
        ]
    },
    {
        path: '/role',
        name: '角色管理',
        redirect: '/role/roleManagement',
        component: () => import('@l/MainView/index.vue'),
        meta: {icon: 'el-icon-mouse'},
        children:[
            {
                path: 'roleManagement',
                name: '角色列表',
                component: ()=> import('@v/roleManagement.vue'),
                children: [],
                meta: {icon: 'el-icon-suitcase'}
            },
        ]
    },
    {
        path: '/data',
        name: '数据管理',
        component: () => import('@/views/uploadData.vue'),
        meta: {icon: 'el-icon-pie-chart'},
        children:[]
    }
    
]

